package com.ruoyi.qualityControl.enums;

/**
 * 结算类型
 *
 * @author ruoyi
 */
public enum QcTimeExamineSignSheetEnum
{
    collectDate("collectDate", "统计日期"),
    networkName("networkName", "所属网点"),
    contractArea("contractAreaName", "承包区"),
    hqSolicitor("hqSolicitor", "派件员"),
    hqTransferCentre("hqTransferCentre", "运转中心"),
    paiTimes("paiTimes", "派次类型"),
    preExamineAmount("preExamineAmount", "预计考核金额"),
    p1ExamineNum("p1ExamineNum", "一阶段考核量"),
    p1SignNum("p1SignNum", "一阶段签收及时率"),
    p1SignRate("p1SignRate", "一阶段签收及时率"),
    p1AimValues("p1AimValues", "一阶段目标值"),
    p1PreExamineAmount("p1PreExamineAmount", "一阶段预计考核金额"),
    p1UnTimelySignNum("p1UnTimelySignNum", "一阶段未及时签收量"),
    p2ExamineNum("p2ExamineNum", "二阶段考核量"),
    p2SignNum("p2SignNum", "二阶段签收及时量"),
    p2SignRate("p2SignRate", "二阶段签收及时率"),
    p2AimValues("p2AimValues", "二阶段目标值"),
    p2PreExamineAmount("p2PreExamineAmount", "二阶段预计考核金额"),
    p2UnTimelySignNum("p2UnTimelySignNum", "二阶段未及时签收量"),
    p2T0DelaySignNum("p2T0DelaySignNum", "T0延迟签收量"),
    p2T1SignNum("p2T1SignNum", "T1签收量"),
    p2T2SignNum("p2T2SignNum", "T2签收量"),
    p2T3SignNum("p2T3SignNum", "T3+签收量"),
    toExamineNum("toExamineNum", "当天考核量"),
    toTimelySignNum("toTimelySignNum", "当天签收及时量"),
    toTimelySignRate("toTimelySignRate", "当天签收及时率"),
    toAimValues("toAimValues", "当天目标值"),
    toPreExamineAmount("toPreExamineAmount", "当天预计考核金额"),
    toUnTimelySignNum("toUnTimelySignNum", "当天未及时签收量"),
    toSignDelay0To24Num("toSignDelay0To24Num", "当天签收延迟0-24h量"),
    toSignDelay0To24Rate("toSignDelay0To24Rate", "当天签收延迟0-24h率"),
    toSignDelay24To48Num("toSignDelay24To48Num", "当天签收延迟24-48h量"),
    toSignDelay24To48Rate("toSignDelay24To48Rate", "当天签收延迟24-48h率"),
    toSignDelayOver48Num("toSignDelayOver48Num", "当天签收延迟超48h量"),
    toSignDelayOver48Rate("toSignDelayOver48Rate", "当天签收延迟超48h率"),
    sendSignTime("sendSignTime", "发签用时"),
    networkNeedTime("networkNeedTime", "网点时效用时"),
    miSignNum("miSignNum", "应签收量"),
    miUnSignNum("miUnSignNum", "未签收量"),
    miEndPaiNum("miEndPaiNum", "未派件量"),
    miSignSchedule("miSignSchedule", "签收进度"),
    miUnSignProblemNum("miUnSignProblemNum", "未签收有问题件");

    private final String code;
    private final String info;

    QcTimeExamineSignSheetEnum(String code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public String getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    public static String getValue(String code) {
        if (code == null) {
            return "";
        }
        for (QcTimeExamineSignSheetEnum value : QcTimeExamineSignSheetEnum.values()) {
            if (value.code.equals(code)){
                return value.info;
            }
        }
        return "";
    }
}
